//
//  Location.h
//  RealatorView
//
//  Created by Ricky Jones on 1/22/09.
//  Copyright 2009 Vaporsoftware. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CLLocation.h>
@class LocationImage;

@interface Location : NSObject {

	int _id;

	NSMutableArray* _images;
	
	NSString* _name;
	NSString* _address1;
	NSString* _address2;
	NSString* _city;
	NSString* _state;	
	NSString* _zip;
	
	CLLocationCoordinate2D _location;
}
	-(void)AddImage:(LocationImage*) imageToAdd;

@property(retain,nonatomic)  NSString* Name;
@property(retain,nonatomic)  NSString* Address1;
@property(retain,nonatomic)  NSString* Address2;
@property(retain,nonatomic)  NSString* City;
@property(retain,nonatomic)  NSString* State;
@property(retain,nonatomic)  NSString* Zip;

@property CLLocationCoordinate2D myLocation;

@property(nonatomic)int LocationID;

@property(retain) NSMutableArray* Images;

@end
